import request from '@/utils/request';

export function getZwkReservationList(data) {
  return request({
    url: '/ZwkReservation/GetZwkReservationList',
    method: 'post',
    data
  });
}

export function getZwkReservationInfo(data) {
  return request({
    url: '/ZwkReservation/GetZwkReservationInfo?zwkReservationDataID=' + data,
    method: 'get'
  });
}

export function saveZwkReservationInfo(data) {
  return request({
    url: '/ZwkReservation/SaveZwkReservationInfo',
    method: 'post',
    data
  });
}

export function setZwkReservationState(data) {
  return request({
    url: '/ZwkReservation/setZwkReservationState',
    method: 'post',
    data
  });
}